<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="./bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="./css/base.css">
<script src='./js/jquery.js'></script>
<script src='./bootstrap/js/bootstrap.js'></script>
<title>管理员查看买家信息页</title>
<style>
.bg {
	width: 100vw;
	min-height: 100vh;
	background: url('') no-repeat;
	background-size: 100%;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100vw;
	padding: 25px 25px 0;
	box-sizing: border-box;
}

.table {
	color: #2C0FEB;
	margin: 0 auto;
}

* {
	font-size: 24px;
}
</style>
</head>

<body>

	<div class="content">
		<div class="bg">
			<header>
				<img class="logo" src='./img/logo.png' alt=''> <a
					href="./alogin.jsp" class="login-out">退出登录</a>
			</header>

			<table class='table'>
				<tr>
					<td>买家编号</td>
					<td>买家用户名</td>
					<td>买家密码</td>
					<td>买家手机号</td>
				</tr>
				<!-- EL表达式 -->
				<c:forEach items="${buyers }" var="buyer" varStatus="buyerIndex">
					<tr>
						<td>${buyer.buy_id}</td>
						<td>${buyer.buy_name}</td>
						<td>${buyer.buy_pwd}</td>
						<td>${buyer.buy_phone}</td>

					</tr>
				</c:forEach>

			</table>
		</div>
	</div>

</body>